package com.chats.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chats.common.Result;
import com.chats.pojo.User;


public interface UserService extends IService<User> {

    /**
     * 用户登录
     * @param user
     * @return
     */
    Result login(User user);

    /**
     * 用户注册
     * @param user
     */
    Result register(User user);


}
